The SimpleMenu Component > FSimpleMenu.addItem() |
FSimpleMenu.addItem(label)
Availability
Flash Player 6.
Usage
sm_instance.addItem (label)
Parameters
label - A string representing the label for
the new item on the SimpleMenu.
Returns
Nothing.
Description
Adds either a button or a separator bar to the end of the SimpleMenu component.
Example
The following code adds a "Contact" button at the end of the Simple Menu:
sm.addItem("Contact");
See also
FSimpleMenu.addItemAt
FSimpleMenu.getItemAt
FSimpleMenu.removeItemAt
FSimpleMenu.setDataProvider